<%@ include file="/common/taglibs.jsp"%>
<title><fmt:message key="report.salesIndicatorAnalyse"/></title>
<head>
<script type="text/javascript" src="${ctxPath}/fusionCharts/JSClass/FusionCharts.js?rs=${appConfig.rs}"></script>
</head>
<content tag="buttons">
	<form id="reportForm" method="post" action="${ctxPath}/report/report.html?doAction=viewSalesIndicator" onkeypress="return keypress(event, 'reportForm');">
		<div id="searchFormContent" class="cnt">
			<fmt:message key="report.date"/>:<fmt:message key="report.message.from"/><span><input id="startTime" name="startTime" value="${startTime}" class="input_readonly" readonly style="width:100px" validconf="required,date"/></span><probiz:ui_datePicker outPut="startTime"/>
			<fmt:message key="report.message.to"/><span><input id="endTime" name="endTime" value="${endTime}" class="input_readonly" readonly style="width:100px" validconf="required,date"/></span><probiz:ui_datePicker outPut="endTime"/>
			<span class="search_btn_box">
			<input class="search_btn" type="button" onclick="return producrSalesRankSearchSubmit();" title="<fmt:message key="button.search"/>" alt="<fmt:message key="button.search"/>" />&nbsp;&nbsp;
			</span>
		</div>
	</form>
</content>

<div class="modify">
	
	<div class="wrap_03">
	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="normal_table4">
			<tr>
					<td>
					<h4><fmt:message key="report.orderTransformationRate"/></h4>
					<div class="wrap_04">
					<table width="100%" border="0" cellspacing="0" cellpadding="0" class="normal_table5">
							<tr>
									<th width="33%"><fmt:message key="report.orderTotal"/></th>
									<th width="33%"><fmt:message key="report.visitTotalTimes"/></th>
									<th width="33%"><fmt:message key="report.orderTransformationRate"/></th>
							</tr>
							<tr>
									<td>${indicatorMap.orderConversionRate[0]}</td>
									<td>${indicatorMap.orderConversionRate[1]}</td>
									<td>${indicatorMap.orderConversionRate[2]}</td>
							</tr>
					</table>
					</div>
					</td>
					<td>
					<h4><fmt:message key="report.customerPurchaseRate"/></h4>
					<div class="wrap_04">
					<table width="100%" border="0" cellspacing="0" cellpadding="0" class="normal_table5">
							<tr>
									<th width="33%"><fmt:message key="report.customerQuantity.havePlaceOrder"/></th>
									<th width="33%"><fmt:message key="report.customerQuantity.total"/></th>
									<th width="33%"><fmt:message key="report.customerPurchaseRate"/></th>
							</tr>
							<tr>
									<td>${indicatorMap.customerBuyRate[0]}</td>
									<td>${indicatorMap.customerBuyRate[1]}</td>
									<td>${indicatorMap.customerBuyRate[2]}</td>
							</tr>
					</table>
					</div>
					</td>
			</tr>
			<tr>
					<td>
					<h4><fmt:message key="report.orderAmount.customer.average"/></h4>
					<div class="wrap_04">
					<table width="100%" border="0" cellspacing="0" cellpadding="0" class="normal_table5">
							<tr>
									<th width="33%"><fmt:message key="report.orderAmount.total"/></th>
									<th width="33%"><fmt:message key="report.orderTotal"/></th>
									<th width="33%"><fmt:message key="report.orderAmount.average"/></th>
							</tr>
							<tr>
									<td>${indicatorMap.orderAmountAvg[0]}</td>
									<td>${indicatorMap.orderAmountAvg[1]}</td>
									<td>${indicatorMap.orderAmountAvg[2]}</td>
							</tr>
					</table>
					</div>
					</td>
					<td>
					<h4><fmt:message key="report.orderQuantity.customer.average"/></h4>
					<div class="wrap_04">
					<table width="100%" border="0" cellspacing="0" cellpadding="0" class="normal_table5">
							<tr>
									<th width="33%"><fmt:message key="report.orderTotal"/></th>
									<th width="33%"><fmt:message key="report.customerQuantity.total"/></th>
									<th width="33%"><fmt:message key="report.orderQuantity.average"/></th>
							</tr>
							<tr>
									<td>${indicatorMap.orderCountAvg[0]}</td>
									<td>${indicatorMap.orderCountAvg[1]}</td>
									<td>${indicatorMap.orderCountAvg[2]}</td>
							</tr>
					</table>
					</div>
					</td>
			</tr>
			<tr>
					<td>
					<h4><fmt:message key="report.orderAmount.everyVisit.average"/></h4>
					<div class="wrap_04">
					<table width="100%" border="0" cellspacing="0" cellpadding="0" class="normal_table5">
							<tr>
									<th width="33%"><fmt:message key="report.orderAmount.total"/></th>
									<th width="33%"><fmt:message key="report.visitTotalTimes"/></th>
									<th width="33%"><fmt:message key="report.amount.unit.average"/></th>
							</tr>
							<tr>
									<td>${indicatorMap.orderAmountAvgOneView[0]}</td>
									<td>${indicatorMap.orderAmountAvgOneView[1]}</td>
									<td>${indicatorMap.orderAmountAvgOneView[2]}</td>
							</tr>
					</table>
					</div>
					</td>
					<td>&nbsp;
					</td>
			</tr>
	</table>
	</div>
	<br/><br/>
	<img src="${ctxPath}/images/icon/bulb_ico.gif"/><fmt:message key="report.data.description"/>
	<br/><br/><br/>
</div>
<%@include file="../report/include/productSalesRankMsgJs.jspf" %>
<script type="text/javascript" src="${ctxPath}/scripts/probiz/report/reportSearchKeyPress.js?rs=${appConfig.rs}"></script>
<script type="text/javascript">
$j(document).ready(function () {
	autoApplyValidate(document.getElementById('reportForm'));
});
</script>